# coding=utf-8
import json

import redis

r = redis.Redis(host='127.0.0.1', port=6379, db=0)

j = json.loads('{"text":123}')

r.publish('t', "bbb")

# i = {"name": "abc"}
# r.set("abc", json.dumps(i))
